x86: Make the hypercall PHYSDEVOP_alloc_irq_vector hypercall dummy.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Sep 2009 10:34:31 +0000 (11:34 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 1 Sep 2009 10:34:31 +0000 (11:34 +0100)
commitbfc341a65cfb2f58040be14f0eb56a794217d773
treeacb9f60d2a04f6cd86d009f1af658144cb9c87a2
parentc6a3252083d653c911356d5ed59f9783e65c3d4a
x86: Make the hypercall PHYSDEVOP_alloc_irq_vector hypercall dummy.

This patch tends to make the hypercall PHYSDEVOP_alloc_irq_vector
dummy, and defer vector allocation to programe ioapic entries by
dom0. Basically, dom0 shouldn't touch vector namespace which is only
used by hypervisor for servicing real device's interrupts. And this
patch also makes broken NetBSD dom0 work again.

Signed-off-by: Xiantao Zhang <xiantao.zhang.intel.com>
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c
xen/arch/x86/mpparse.c
xen/arch/x86/physdev.c
xen/common/domain.c